package com.ds.infrastructure.hyperspace.container.internal.http2;

import io.netty.handler.codec.http2.Http2Headers;
import lombok.Getter;

/**
 * @author  Weishaoying
 */
@Getter
public class HyperspaceHttp2PushPromiseFrame {

    private int promisedStreamId;

    private Http2Headers headers;

    private int padding;

    public HyperspaceHttp2PushPromiseFrame(int promisedStreamId, Http2Headers headers, int padding) {
        this.promisedStreamId = promisedStreamId;
        this.headers = headers;
        this.padding = padding;
    }

}
